#!/usr/bin/env node

const fs=require('fs'),
      fileName=process.argv[2],
      log=console.log;
//异步方式打印文件内容
try{
  fs.readFile(fileName,(err,data)=>{
    log(data.toString('utf8'));
    log('01-my-cat-async');
  });
}catch(e){
  log(e.message);
}
